.Net Framework > v1.1.4322 > System > Diagnostics > Trace > WriteIf WriteIf(Boolean,Object)
WriteIf(Boolean,Object,String)
WriteIf(Boolean,String)
WriteIf(Boolean,String,String)


WriteIf(Boolean,Object)

Category
Method
Description
Writes the value of the object's System.Object.ToString method to the trace listeners in the System.Diagnostics.Trace.Listeners collection if a condition is .
Type
void
Character
public, static
Parameters
NameTypeDescription
conditionBoolean
valueObject
Attributes
NameValue/Assignment
ConditionalAttributeTRACE
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteIf(Boolean,Object,String)

Category
Method
Description
Writes a category name and the value of the object's System.Object.ToString method to the trace listeners in the System.Diagnostics.Trace.Listeners collection if a condition is .
Type
void
Character
public, static
Parameters
NameTypeDescription
conditionBoolean
valueObject
categoryString
Attributes
NameValue/Assignment
ConditionalAttributeTRACE
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteIf(Boolean,String)

Category
Method
Description
Writes a message to the trace listeners in the System.Diagnostics.Trace.Listeners collection if a condition is .
Type
void
Character
public, static
Parameters
NameTypeDescription
conditionBoolean
messageString
Attributes
NameValue/Assignment
ConditionalAttributeTRACE
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteIf(Boolean,String,String)

Category
Method
Description
Writes a category name and message to the trace listeners in the System.Diagnostics.Trace.Listeners collection if a condition is .
Type
void
Character
public, static
Parameters
NameTypeDescription
conditionBoolean
messageString
categoryString
Attributes
NameValue/Assignment
ConditionalAttributeTRACE
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database